package test01;

public class test01 {
    private static void seriof(){
        long x=1000_0000_0000l;
        int d1=0;
        int d2=0;
        long bigin=  System.currentTimeMillis();
        for (int i=0;i<x;i++){
            d1++;
        }
        for (int i = 0; i <x ; i++) {
            d2++;
        }
        long end=System.currentTimeMillis();
        System.out.println("串行完成时间："+(end-bigin));
    }

    public static void main(String[] args) {
        seriof();
    }
}
